export const t = (name, ...params) => {
  const langMap = window.i18nLang
  if (langMap && langMap[name]) {
    return BH_UTILS.i18n(`${langMap[name]}, ${params.join(',')}`)
  }

  return name
}
